package ooday02;

public class Test {
    public static void main(String[] args) {

        Chick chick=new Chick("小黄",1,"黄");
        chick.eat();
        chick.downEgg();
        chick.drink();
        Dog dog=new Dog("小黑",2,"黑");
dog.eat();
dog.drink();
dog.Swim1();
dog.lookhome();
Fish  fish=new Fish("小红",3,"红");
fish.eat();
fish.Swim();
fish.drink();
    }
}
//抽象和接口